package com.cxc.myweb.demo.util;

public class BasicType {

	public static boolean isNumber(String str ){
		if (str==null) return false;
		return str.matches("^[-+]?(([0-9]+)([.]([0-9]+))?|([.]([0-9]+))?)$");
	}
}
